# 展示我按下了 那个键
import tkinter
from tkinter import *

root = tkinter.Tk()
root.geometry('800x600')


entry1 = tkinter.Entry(root, width=10, bg='#00ffff')
entry1.pack()



def judge():
    entry_text = entry1.get()
    if entry_text == 1:
        label = tkinter.Label(root, text = 'wew',width=10)
        label.place(relx=0.3, rely=0.3)

button1 = tkinter.Button(root,text = '确定',command = judge)
button1.pack()

root.mainloop()
